package maven_test.app;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.client.RestTemplate;

@Controller
public class apptest {
	@RequestMapping("test")
	@ResponseBody
	public String test() {
		return "0.0";
	}
	
	
/*	@RequestMapping("test1")
	@ResponseBody
	public String test1() {
		RestTemplate restTemplate = new RestTemplate();
		String result = restTemplate.getForObject("http//127.0.0.1:8888/test2", class.string, urlVariables);
	}*/
	
	
	@RequestMapping("user")
	public String user() {
		return "User/user";
		
	}
	

}
